package com.seeyon.apps.ddkk.timer;

import java.util.TimerTask;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.seeyon.apps.ddkk.manager.QiangsDDManager;
import com.seeyon.ctp.common.AppContext;

public class GetReportTimers extends TimerTask {

	private static final Log log = LogFactory.getLog(GetReportTimers.class);
	private QiangsDDManager qiangsManager = (QiangsDDManager) AppContext.getBean("qiangsDDManager");
	
	@Override
	public void run() {
		// TODO Auto-generated method stub
		log.info("##客开日志: **********执行定时获取启信宝定制报告是否生成开始*************");
		try {
			qiangsManager.findReport();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			log.error("##强生客开: ", e);
		}
		log.info("##客开日志: **********执行定时获取启信宝定制报告是否生成结束*************");
	}

}
